<?php	
	// MySQL Settings
	define('SQL_HOST' , 'localhost');
	define('SQL_DB' , 'phpsharer');
	define('SQL_USER' , 'root');
	define('SQL_PASS' , '');
	define('BASE_URL' , 'http://localhost/');

	// Connecting to MySQL, selecting database
	$link = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS) or trigger_error('Could not connect: ' . mysql_error());
	mysql_select_db(SQL_DB) or trigger_error('Could not select database');
	mysql_query("SET NAMES 'utf8'");
	require('function.inc.php');
	startSession();
	header("Content-Type:application/json; charset=utf-8");
	include("FirePHPCore/fb.php");
?>